]> dgit.raspbian.org Git - gnome-shell.git/commit
tools: Symlink node_modules in project root
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 21 Oct 2025 18:12:59 +0000 (20:12 +0200)
committerMarge Bot <marge-bot@gnome.org>
Tue, 28 Oct 2025 20:40:31 +0000 (20:40 +0000)
commit11a5aad53e2b462d7cac70b26515d9b7f4bb0466
tree98033054710d0043cbb533b595569c1e225bdc2a
parentb0957a21d73a55e0a994a4cb890ee7a55edbea6b
tools: Symlink node_modules in project root

NPM assumes quite strongly that it manages the project as a
whole and its package/lock files are located in the project
root.

While we somehow managed to keep the npm tooling in a subfolder,
this comes at the cost of breaking imports of additional modules.

This will become relevant when we update eslint to a supported
version, as we want to keep using the `junit` formatter in CI,
which has now been split out into a separate module.

So bite the bullet and make the node_modules folder available in
the project root.

On the plus side, having the node_modules folder in the project
root allows language servers in IDEs/editors to pick it up.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3929>
tools/run-eslint.sh